var vueEditPolygon = {
  data: function () {
    return {
      isPolyonEditing: false,
    }
  },
  methods: {
    doPolygonEdit: function () {
      this.isPolyonEditing = !this.isPolyonEditing;
      if (this.isPolyonEditing) {
        // 启动画图工具
        map.openDrawTools('polygon');
      } else {
        map.cancelDraw();
      }
    }
  }
}